<template>
  <a-date-picker v-model:value="value" />
</template>

<script>
import { ref } from '@vue/reactivity'
import moment from 'moment';
export default {
    setup(){
        const dateFormat = 'YYYY/MM/DD';

        let value = ref(moment('2015/01/01', dateFormat))
        return{
            value,
            moment,
            dateFormat
        }
    }
}
</script>

<style>

</style>